package com.wzx.user.service;

import com.alipay.api.AlipayApiException;
import com.wzx.common.exception.LeadNewsException;
import com.wzx.user.pojo.shop.vo.ReleaseDynamicVo;
import com.wzx.user.vo.PayVo;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/6/8 - 21:37
 * @description 标题
 */
public interface PayZfbService {
    String userRechargeAmount(PayVo payVo) throws AlipayApiException, LeadNewsException;

    void tradeStatusOk(String outTradeNo);

    void tradeStatusError(String outTradeNo);

    String userRechargeOrder(PayVo payVo) throws AlipayApiException, LeadNewsException;

    void tradeStatusOrderOk(String outTradeNo) throws LeadNewsException;

    void tradeStatusOrderError(String outTradeNo);

    String userReleaseByZfb(ReleaseDynamicVo releaseDynamicVo) throws AlipayApiException, LeadNewsException;

    void userReleaseByZfbCallbackOk(String outTradeNo) throws LeadNewsException;

    void userReleaseByZfbCallbackError(String outTradeNo);

    void userBindingZfb(Integer userId, String authCode) throws AlipayApiException, LeadNewsException;
}
